Resource URL: /platform/<<version=3>>/antivirus/servers/<ID+>

    Overview: This resource represents the antivirus servers configured on a
              cluster.

     Methods: GET, PUT, DELETE

********************************************************************************

Method GET: Retrieve one antivirus server entry.

       URL: GET /platform/<<version=3>>/antivirus/servers/<ID+>

There are no query arguments for this method.

GET response body schema:
{
  "type": [
    {
      "additionalProperties": false, 
      "type": "object", 
      "description": "A list of errors that may be returned.", 
      "properties": {
        "errors": {
          "items": {
            "additionalProperties": false, 
            "type": "object", 
            "description": "An object describing a single error.", 
            "properties": {
              "field": {
                "type": "string", 
                "description": "The field with the error if applicable."
              }, 
              "message": {
                "type": "string", 
                "description": "The error message."
              }, 
              "code": {
                "type": "string", 
                "description": "The error code."
              }
            }
          }, 
          "type": "array"
        }
      }
    }, 
    {
      "additionalProperties": false, 
      "type": "object", 
      "properties": {
        "servers": {
          "minItems": 0, 
          "items": {
            "additionalProperties": false, 
            "type": "object", 
            "description": "An ICAP server that contains virus definitions.", 
            "properties": {
              "status": {
                "enum": [
                  "active", 
                  "inactive", 
                  null
                ], 
                "description": "The status of the server."
              }, 
              "description": {
                "minLength": 0, 
                "type": "string", 
                "description": "A description for the server.", 
                "maxLength": 255
              }, 
              "url": {
                "minLength": 1, 
                "type": "string", 
                "description": "The icap url for the server.  This should have a format of: icap://host.domain:port/path", 
                "maxLength": 2048
              }, 
              "enabled": {
                "type": "boolean", 
                "description": "Whether the server is enabled."
              }, 
              "definitions": {
                "type": [
                  {
                    "minLength": 0, 
                    "type": "string", 
                    "maxLength": 255
                  }, 
                  {
                    "type": "null"
                  }
                ], 
                "description": "Virus definitions on the server."
              }, 
              "id": {
                "minLength": 0, 
                "type": "string", 
                "description": "A unique identifier for the server.", 
                "maxLength": 255
              }
            }
          }, 
          "type": "array", 
          "maxItems": 4294967295
        }
      }
    }
  ]
}

********************************************************************************

Method PUT: Modify an antivirus server entry.

       URL: PUT /platform/<<version=3>>/antivirus/servers/<ID+>

There are no query arguments for this method.

PUT request body schema:
{
  "additionalProperties": false, 
  "type": "object", 
  "description": "An ICAP server that contains virus definitions.", 
  "properties": {
    "url": {
      "minLength": 1, 
      "type": "string", 
      "description": "The icap url for the server.  This should have a format of: icap://host.domain:port/path", 
      "maxLength": 2048
    }, 
    "enabled": {
      "type": "boolean", 
      "description": "Whether the server is enabled."
    }, 
    "description": {
      "minLength": 0, 
      "type": "string", 
      "description": "A description for the server.", 
      "maxLength": 255
    }
  }
}

There is no JSON response body for this method.

********************************************************************************

Method DELETE: Delete an antivirus server entry.

          URL: DELETE /platform/<<version=3>>/antivirus/servers/<ID+>

There are no query arguments for this method.

There is no JSON response body for this method.
